using System;
using System.Collections.Generic;
using System.Text;

using BetterEventViewer.Core;
using NUnit.Framework;

namespace BetterEventViewer.Core.Tests
{
    [TestFixture]
    public class BetterEventLogStoreFixture
    {
        [Test]
        public void VerifyLogCount()
        {
            BetterEventLogStore store = new BetterEventLogStore();
            Assert.AreEqual(6, store.BetterEventLogs.Count);
        }

        [Test]
        public void VerifyGetByName()
        { 
            BetterEventLogStore store = new BetterEventLogStore();
            BetterEventLog log = store.GetBetterEventLogByName("Security");
            Assert.IsNotNull(log);
            Assert.AreEqual("Security", log.Name);
        }
    }
}
